﻿<?xml version="1.0" encoding="utf-8" ?>

<hibernate-mapping xmlns="urn:nhibernate-mapping-2.2" assembly ="monitor_2_DBwork" namespace ="monitor_2_DBwork" >
  <class name="BLR" table="Blr" >
    <id name ="Id" column ="Id" type="int" generator="identity" />
    <property name="Name" column="Name" type="string" unique="true"/>

    <set name="RTPSList" inverse="true" cascade="save-update" order-by="Name asc">
      <key column="Idblr" not-null="true"/>
      <one-to-many class="RTPS"/>
    </set>

  </class>
</hibernate-mapping>